.tabx-tab-item {
    position: relative;
    font-size: 14px;
    padding: 0 34px 0 15px;
    float: left;
    text-align: left;
    float: left;
    border-top: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    color: #444;
    background: #f1f1f1;
}

.tabx-tab-item:hover {
    background: #f5f5f5;
}

.tabx-tab-item:after {
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    right: 0;
    content: "";
    z-index: 1;
    border-bottom: 1px solid #e1e1e1;
}

.tabx-tab-item:first-child {
    border-left: 1px solid #e1e1e1;
}

.tabx-tab-item.tabx-tab-item-active {
    background: #fff;
    color: #3498db;
}

.tabx-tab-item.tabx-tab-item-active:after {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #3498db;
}

.tabx-tab-item-icon {
    margin-right: 8px;
}

.tabx-tab-item-icon .tabx-icon {
    font-size: 16px;
}

.tabx-tab-item-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tabx-tab-item-close {
    width: 14px;
    height: 14px;
    background: #e5e5e5;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    right: 5px;
}

.tabx-tab-item-close .tabx-icon {
    font-size: 8px;
}

.tabx-tab-item-close:hover {
    background: #f00;
    color: #fff;
}